package com.smartpro.mis.modular.system.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 绩效收入流水表
 * </p>
 *
 * @author mengiy123
 * @since 2019-05-07
 */
@TableName("performance")
public class Performance extends Model<Performance> {

    private static final long serialVersionUID = 1L;

    /**
     * 绩效收入id
     */
    @TableId(value = "incomeID", type = IdType.AUTO)
    private Integer incomeID;
    /**
     * 推广员id
     */
    private Integer distributorID;
    /**
     * 订单id
     */
    private Integer orderID;
    /**
     * 绩效金额
     */
    private BigDecimal income;
    /**
     * 新建时间
     */
    private String createTime;


    public Integer getIncomeID() {
        return incomeID;
    }

    public void setIncomeID(Integer incomeID) {
        this.incomeID = incomeID;
    }

    public Integer getDistributorID() {
        return distributorID;
    }

    public void setDistributorID(Integer distributorID) {
        this.distributorID = distributorID;
    }

    public Integer getOrderID() {
        return orderID;
    }

    public void setOrderID(Integer orderID) {
        this.orderID = orderID;
    }

    public BigDecimal getIncome() {
        return income;
    }

    public void setIncome(BigDecimal income) {
        this.income = income;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.incomeID;
    }

    @Override
    public String toString() {
        return "Performance{" +
        "incomeID=" + incomeID +
        ", distributorID=" + distributorID +
        ", orderID=" + orderID +
        ", income=" + income +
        ", createTime=" + createTime +
        "}";
    }
}
